<script setup lang="ts" name="CCGrandChildPage_ProvideInject">
import { inject } from "vue";
const money = inject("MONEY");
const car = inject("CAR");
</script>

<template>
  <div class="bg-lime-100 p-6 my-6">
    <h2 class="text-xl">孙组件</h2>
    <div>爷爷的票子：{{ money }}W</div>
    <div>爷爷的车子：价值{{ car.price }}W的{{ car.brand }}</div>
  </div>
</template>
